﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/EmployeeInfo.css")" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery-1.8.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.23.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-i18n.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.dataTables.min.js")" type="text/javascript" charset="gb2312"></script>
    <script src="@Url.Content("~/Scripts/DatePicker/WdatePicker.js")" type="text/jscript"></script>
    <script src="@Url.Content("~/Scripts/jquery.iframe-transport.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.fileupload.js")" type="text/javascript"></script>

    <style type="text/css">
    .color1 {background-color:#DDD; color:#222;}
    .color2 {background-color:#EEE; color:#222;}
    .color3 {background-color:#555; color:#FFF;}
    </style>

    @if (false)
    {
        <script src="../../Scripts/jquery-1.8.1-vsdoc.js" type="text/javascript"></script>
    }
    <script type="text/javascript">
     $(document).ready($.datepicker.regional["zh-CN"]);
    </script>
</head>
<body>
    <div class="page">
        <div id="header">
            <div id="title">
                <h1>
                    青岛大学医学院附属医院人力资源管理系统</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <div id="menucontainer">
                <ul id="menu">
                @if(User.IsInRole("Admin")){
                    <li>@Html.ActionLink("管理界面", "Index", "Admin")</li>}
                @if(User.IsInRole("DeptMaster")){
                    <li>@Html.ActionLink("科室管理", "Index", "DeptMaster")</li>}                                                                     <li>@Html.ActionLink("竞聘信息","Index","DetailInfo")</li>                        
                    <li>@Html.ActionLink("个人信息", "Index", "Home")</li>
                    
                </ul>
            </div>
        </div>
        <div id="main">
            @RenderBody()
        </div>
        <div id="footer">
        </div>
    </div>
</body>
</html>
